Skip to content

更正有符号整数左移的相关未定义行为描述#75

Open
frederick-vs-ja wants to merge 1 commit intoparallel101:mainfrom
frederick-vs-ja:cwg-1457-p1236r1
Open

更正有符号整数左移的相关未定义行为描述#75
frederick-vs-ja wants to merge 1 commit intoparallel101:mainfrom
frederick-vs-ja:cwg-1457-p1236r1

Conversation

@frederick-vs-ja
Copy link
Contributor

C++20 起有符号整数的左移的限制变成与无符号整数一样了,见 P1236R1

C++20 前相关限制被缺陷报告 CWG1457 修改过,应该反映 CWG1457 修改后的状况。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant